win32: Ensure we can create a window for wintab
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 26 Jan 2015 14:26:34 +0000 (14:26 +0000)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 28 Jan 2015 16:59:29 +0000 (16:59 +0000)
commit15438905693106e81b96100ce5843e87910768d5
tree3c9c512994e20c9fd840be8da469e107300d0766
parent2dd07f346a0f724146c6ba7d6ce3a3372d901397
win32: Ensure we can create a window for wintab

The window used NULL as a parent window, which defaults internally to
using the root window of the default screen. But at the time wintab is
initialized, there is no default display/screen yet.

Fix this by retrieving this information from the given GdkDeviceManager,
so we don't have to wait for the display to be in place before
initialization.

https://bugzilla.gnome.org/show_bug.cgi?id=743330
gdk/win32/gdkdevicemanager-win32.c